package com.ethink.platform.controller.order.info;

import com.ethink.mdm.api.info.MateSkuInfo;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author default
 * @version 1.0.0
 * @ClassName TocSaleOrderImportInfo.java
 * @Description
 * @createTime 2022年11月22日 17:55:00
 */
@Data
public class TocSaleOrderImportInfo extends MateSkuInfo {

    @Schema(description ="网店订单号")
    private String shopOrderNo;

    @Schema(description = "仓库名称")
    private String subWarehouseName;

    @Schema(description = "销售单价")
    private BigDecimal salePriceWb;

    @Schema(description = "出库数量")
    private Integer outQty;

    @Schema(description = "仓库code")
    private String subWarehouseCode;

    @Schema(description = "下单时间")
    @JsonFormat(locale = "zh",timezone = "GMT+8",pattern = "yyyy-MM-dd")
    private Date orderTime;

    @Schema(description = "枚举 库存类型:1-正品(zp)|2-瑕疵(cc)")
    private Integer inventoryType = 1;
}
